<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>选择商品</title>
  <link rel="stylesheet" href="/static/layui/css/layui.css">
  <link rel="stylesheet" href="/static/admin/css/admin.css">
  <script src="/static/layui/layui.js"></script>
</head>
<body>
<div class="layui-container layui-p-30">  
    <form class="layui-form">
        <table class="layui-table" id="group-table">
            <tr>
                <th>商品id</th>
                <th>商品名称</th>
                <th>图片</th>
                <th>总库存</th>
                <th>创建时间</th>
            </tr> 
            {foreach $options as $vo}
            <tr>
                <td>
                    <input type="checkbox" name="id" value="{$vo.id}" title="{$vo.id}" lay-skin="primary"  >
                </td>
                <td class="goods-name">{$vo.goods_name}</td>
                <td>
                    <img src="{$vo.main_image}"  class="layui-upimg main-image">
                </td>
                <td>{$vo.total_stock}</td>
                <td>{$vo.create_time}</td>
            </tr>
            {/foreach}
        </table> 
    </form>
</div>  
</body>
</html>